package com.huxiao.dao;

import com.huxiao.pojo.Teacher;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface TeacherMapper {
//获取所有老师
    List<Teacher>  getTeacher();

//    获取制定老师下所有学生及老师的信息
    Teacher getTeacher(@Param("tid") int id);
}
